package com.clear.subject.application.interceptor;

import feign.RequestInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Fegin配置类：将Fegin拦截器注入到容器
 */
@Configuration
public class FeginConfiguration {

    @Bean
    public RequestInterceptor requestInterceptor() {
        return new FeginRequestInterceptor();
    }
}
